package com.thlws.java.jdk8.function.entity;

/**
 * @author HanleyTang
 * @date 2018/11/21
 */
public class Result {

    private boolean isOk;
    private String desc;

    public boolean isOk() {
        return isOk;
    }

    public void setOk(boolean ok) {
        isOk = ok;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    @Override
    public String toString() {
        return "Result{" +
                "isOk=" + isOk +
                ", desc='" + desc + '\'' +
                '}';
    }
}
